package com.xiyu.service.vo.restaurant.dish.baseVO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import jakarta.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import static com.xiyu.service.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
import java.time.LocalDateTime;

/**
 * 菜品原料 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class RestaurantDishMaterialBase {

    @Schema(description = "餐品ID")
    private Long dishId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "热量")
    private BigDecimal heat;

    @Schema(description = "蛋白质")
    private BigDecimal protein;

    @Schema(description = "脂肪")
    private BigDecimal fat;

    @Schema(description = "碳水化合物")
    private BigDecimal carbohydrate;

}
